/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package descriptor;

/**
 *
 * @author KAV
 */
public class PropertyTemplate {
    private String name;
    private String typeName;
    private boolean primaryKey;
    private boolean notNull;
    private String nullReplacingValue;

    public PropertyTemplate(String name, String typeName, boolean primaryKey, boolean notNull, String nullReplacingValue){
        this.name=name;
        this.typeName=typeName;
        this.notNull=notNull;
        this.primaryKey=primaryKey;
        this.nullReplacingValue=nullReplacingValue;
    }

    public String getName(){
        return name;
    }

    public String getTypeName(){
        return typeName;
    }

    public boolean isNotNull(){
        return notNull;
    }
    public boolean isPrimaryKey(){
        return primaryKey;
    }
    public String getNullReplacingValue(){
        return nullReplacingValue;

    }
}
